#! /bin/bash

SRVNAME=com.nsp.frametest.TestServerB
ps -ewwwf|grep ${SRVNAME}| grep -v "grep" |awk '{print $2}'|while read pid 
do
     kill -9 $pid
     done
